package com.company.cloud.crm.modules.mgr.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.company.cloud.crm.modules.base.entity.CustomerInfo;


public interface CustomerContactMgrMapper {

	
//	@Select("select a.* from crm_customer_info a inner join crm_customer_contact_info b on a.cust_no=b.cust_no ${ew.customSqlSegment}")
//	public IPage<CustomerInfo> queryCustMyUser(IPage<CustomerInfo> page,@Param(Constants.WRAPPER) Wrapper<CustomerInfo> wrapper);
	
	@Select("select a.* from crm_customer_info a inner join crm_customer_contact_info b on a.cust_no=b.cust_no ${ew.customSqlSegment}")
	public List<CustomerInfo> queryCustMyUserList(@Param(Constants.WRAPPER) Wrapper<CustomerInfo> wrapper);
	
	
}
